package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("student_account")
@ApiModel(value = "StudentAccount对象", description = "")
@Data
public class StudentAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long schoolId;

    private Long studentId;

    @ApiModelProperty("学习姓名")
    private String studentName;

    @ApiModelProperty("0禁用，1正常，2试用")
    private Integer status;

    private String account;

    private String pwd;

    @ApiModelProperty("年份")
    private Integer yearPart;

    @ApiModelProperty("学期")
    private Integer quarterNum;

    @ApiModelProperty("年级")
    private Integer yearClassId;

    @ApiModelProperty("1学生，2教师")
    private Integer accountType;

    private Long gradeId;

    @ApiModelProperty("班型id")
    private Long classTypeId;

    @ApiModelProperty("1精品课学生自动生成，2手动添加")
    private Integer addType;

    private LocalDateTime createdAt;

    private Integer deleted;

    private List<StudentClassType> studentClassTypeList;
}
